﻿//Write a program to print the first 100 members of the sequence of Fibonacci: 0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144, 233, 377, …

using System;
using System.Numerics;

class PrintFirst100FibonachiNumbers
{
    static void Main()
    {
        BigInteger number = 0;
        BigInteger nextNumber = 1;
        Console.Write("{0}, {1}", number, nextNumber);
        int fibonachiNumbersCount = 100;
        BigInteger sum = 0;
        for (int i = 3; i <= fibonachiNumbersCount; i++)
        {
            sum = nextNumber + number;
            number = nextNumber;
            nextNumber = sum;
            Console.Write(", {0}", sum);
        }
        Console.WriteLine();
    }
}
